﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="Stylesheet" type="text/css" media="screen" href="Screen.css" />
  <title>STP_GetBridgeAddress</title>
</head>
<body>
	<h3>STP_GetBridgeAddress</h3>
	<hr />
<pre>
const struct STP_BRIDGE_ADDRESS* STP_GetBridgeAddress
(
    const STP_BRIDGE* bridge,
);
</pre>
	<h4>
		Summary</h4>
	<p>
		Gets the bridge address that was set with <a href="STP_CreateBridge.html">
		STP_CreateBridge</a> or <a href="STP_SetBridgeAddress.html">STP_SetBridgeAddress</a>.</p>
	<h4>
		Parameters</h4>
	<dl>
			<dt>bridge</dt>
		<dd>Pointer to a STP_BRIDGE object, obtained from <a href="STP_CreateBridge.html">
			STP_CreateBridge</a>.</dd>
	</dl>
	<h4>
		Return Value</h4>
    <p>
		Pointer to the bridge address.</p>
    <h4>
		Remarks</h4>
	<p>
			See the Remarks section in <a href="STP_SetBridgePriority.html">STP_SetBridgePriority</a> for information on how the bridge priority is calculated from the bridge address.</p>
	<p>
		It is allowed to call this function from within an <a href="STP_CALLBACKS.html">STP callback</a>.</p>

</body>
</html>
